package com.company.opengltest;

import android.app.Activity;
import android.os.Bundle;

// TODO : Add Scale gesture listener to this class. Use "glTranslatef" method.(SEE "MultiTouchTest" project)
// TODO : Add Rotate feature to each polygon with orientation sensor

public class OpenGLTest extends Activity {
    
    private ClearSurfacceView mGlSurfaceView;
    
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mGlSurfaceView = new ClearSurfacceView(this);
        setContentView(mGlSurfaceView);
    }
    
    @Override
    protected void onPause() {
        super.onPause();
        mGlSurfaceView.onPause();
    }
    
    @Override
    protected void onResume() {
        super.onResume();
        mGlSurfaceView.onResume();
    }
}